package cn.iot.sys.service;

import cn.iot.common.dto.ResultMsg;
import cn.iot.sys.entity.SysRule;

import java.io.UnsupportedEncodingException;
import java.util.Map;

public interface SysRuleService {
    public ResultMsg addSysRule(SysRule sysRule) throws UnsupportedEncodingException;
    public ResultMsg getSysRuleList(Map<String,Object> map);
    public ResultMsg delSysRuleById(int id);
    public ResultMsg updSysRuleById(SysRule sysRule);
}
